package service

import (
	hessian "github.com/apache/dubbo-go-hessian2"
	"github.com/apache/dubbo-go/config"
)

var userConsumer = new(UserService)

func (u *UserService) Reference() string {
	return "userService"
}
func (User) JavaClassName() string {
	return "com.ys.user.User"
}

func init() {
	config.SetConsumerService(userConsumer)
	hessian.RegisterPOJO(&User{})
}
